package com.netdisk.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 分享数据传输对象
 */
@Data
@ApiModel(value = "分享DTO", description = "分享数据传输对象")
public class ShareDTO {

    @ApiModelProperty(value = "分享ID")
    private Integer id;

    @ApiModelProperty(value = "分享唯一标识")
    private String shareId;

    @ApiModelProperty(value = "用户ID")
    private Integer userId;

    @ApiModelProperty(value = "文件ID")
    private Integer fileId;

    @ApiModelProperty(value = "文件信息")
    private FileDTO file;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createdAt;
    
    @ApiModelProperty(value = "过期时间")
    private LocalDateTime expiresAt;
} 